package org.jeecg.modules.oa.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.oa.entity.OaComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 评论表
 * @Author: jeecg-boot
 * @Date:   2019-09-12
 * @Version: V1.0
 */
public interface IOaCommentService extends IService<OaComment> {

    Result<List<OaComment>> getByTopicIdAndParentIdIsNull(String topicId);
    Result<List<OaComment>> getByParentId(String parentId);

    List<OaComment> findAllMsgById(String id, String topicId);

    List<OaComment> getByTopicId(String id);
}
